REM 本文件作用为：复制MATLAB Engine所需的dll文件到当前目录
REM 需设置matlab根路径
REM windployqt 
REM code UTF-8
chcp 65001
pause
set MATLAB_PATH=D:\SoftWareInstallation\Matlab2020\bin\win64\
echo %MATLAB_PATH%
echo press any key to copy matlab dll to this dir
pause

copy %MATLAB_PATH%libmat.dll .\
copy %MATLAB_PATH%libeng.dll .\
copy %MATLAB_PATH%libmx.dll .\
copy %MATLAB_PATH%libut.dll .\
copy %MATLAB_PATH%libmwi18n.dll .\
copy %MATLAB_PATH%libmwfl.dll .\
copy %MATLAB_PATH%libmwmfl_permute.dll .\
copy %MATLAB_PATH%libmwfoundation_usm.dll .\
copy %MATLAB_PATH%hdf5.dll .\
copy %MATLAB_PATH%libmwindexingapimethods.dll .\
copy %MATLAB_PATH%icuuc64.dll .\
copy %MATLAB_PATH%mwboost_log-vc141-mt-x64-1_70.dll .\
copy %MATLAB_PATH%tbbmalloc.dll .\
copy %MATLAB_PATH%zlib1.dll .\
copy %MATLAB_PATH%libmwflstrings.dll .\
copy %MATLAB_PATH%mwboost_filesystem-vc141-mt-x64-1_70.dll .\
copy %MATLAB_PATH%mwboost_thread-vc141-mt-x64-1_70.dll .\
copy %MATLAB_PATH%icuio64.dll .\
copy %MATLAB_PATH%libmwresource_core.dll .\
copy %MATLAB_PATH%libmwcopyp11compat.dll .\
copy %MATLAB_PATH%mwboost_date_time-vc141-mt-x64-1_70.dll .\
copy %MATLAB_PATH%libexpat.dll .\
copy %MATLAB_PATH%icuin64.dll .\
copy %MATLAB_PATH%mwboost_serialization-vc141-mt-x64-1_70.dll .\
copy %MATLAB_PATH%tbb.dll .\
copy %MATLAB_PATH%icudt64.dll  .\
copy %MATLAB_PATH%icudt64.dll .\
copy %MATLAB_PATH%icudt64.dll  .\
copy %MATLAB_PATH%mwoles05.dll .\
copy %MATLAB_PATH%libmex.dll .\
copy %MATLAB_PATH%m_dispatcher.dll .\
copy %MATLAB_PATH%m_interpreter.dll .\
copy %MATLAB_PATH%libmwservices.dll .\
copy %MATLAB_PATH%comcli.dll .\
copy %MATLAB_PATH%mlutil.dll .\
copy %MATLAB_PATH%mvm.dll .\
copy %MATLAB_PATH%libmwfoundation_matlabdata_matlab.dll .\
copy %MATLAB_PATH%libmwfoundation_matlabdata.dll .\
copy %MATLAB_PATH%mcos.dll .\
copy %MATLAB_PATH%generate_diag_message.dll .\
copy %MATLAB_PATH%libmwms.dll .\
copy %MATLAB_PATH%libmwflstoragevfs.dll .\
copy %MATLAB_PATH%libmwm_dispatcher_interfaces.dll .\
copy %MATLAB_PATH%libmwstoragefilefolderobserver.dll .\
copy %MATLAB_PATH%libmwcwf_implementation.dll .\
copy %MATLAB_PATH%libmwcwf_interface.dll .\
copy %MATLAB_PATH%libmwmodule_descriptor_implementation.dll .\
copy %MATLAB_PATH%libmwmatlab_modules_implementation.dll .\
copy %MATLAB_PATH%libmwmodule_descriptor_interfaces.dll .\
copy %MATLAB_PATH%libmwsearchable_component_implementation.dll .\
copy %MATLAB_PATH%libmwmatlabstoragesystem.dll .\
copy %MATLAB_PATH%libmwsearchable_component_interfaces.dll .\
copy %MATLAB_PATH%libmwmodule_feature.dll .\
copy %MATLAB_PATH%libmwsearch_path_events.dll .\
copy %MATLAB_PATH%libmwsearch_path_features.dll .\
copy %MATLAB_PATH%libmwsearch_path_interfaces.dll .\
copy %MATLAB_PATH%libmwsearch_path_impl.dll .\
copy %MATLAB_PATH%libmwsearch_path_utilities.dll .\
copy %MATLAB_PATH%ddux.dll .\
copy %MATLAB_PATH%executionDB_instrumentation.dll .\
copy %MATLAB_PATH%string_matrix.dll .\
copy %MATLAB_PATH%libmwcopypmicroservices.dll .\
copy %MATLAB_PATH%mwboost_regex-vc141-mt-x64-1_70.dll .\
copy %MATLAB_PATH%execution_events.dll .\
copy %MATLAB_PATH%copypMicroServices3.dll .\
copy %MATLAB_PATH%copypMicroServices3.dll .\
copy %MATLAB_PATH%libmwcapabilities.dll .\
copy %MATLAB_PATH%libmwlivecode.dll .\
copy %MATLAB_PATH%m_parser.dll .\
copy %MATLAB_PATH%libmwlivecode.dll .\
copy %MATLAB_PATH%libmwlivecode.dll .\
copy %MATLAB_PATH%matlab_toolbox_events.dll .\
copy %MATLAB_PATH%libmwflstorageprovider.dll .\
copy %MATLAB_PATH%libmwflstorageutility.dll .\
copy %MATLAB_PATH%libmwrelease_info.dll .\
copy %MATLAB_PATH%settingscore.dll .\
copy %MATLAB_PATH%opccore.dll .\
copy %MATLAB_PATH%mwboost_iostreams-vc141-mt-x64-1_70.dll .\
copy %MATLAB_PATH%opcmodel.dll .\
copy %MATLAB_PATH%opczippackage.dll .\
copy %MATLAB_PATH%udd.dll .\
copy %MATLAB_PATH%uiw.dll .\
copy %MATLAB_PATH%jmi.dll .\
copy %MATLAB_PATH%libmwmatlabdata_boost_serialization.dll .\
copy %MATLAB_PATH%libmwmst.dll .\
copy %MATLAB_PATH%libmwthreadpool.dll .\
copy %MATLAB_PATH%libmwstartupplugin.dll .\
copy %MATLAB_PATH%libmwstartup_plugin_initializer.dll .\
copy %MATLAB_PATH%libmvmtransportapi.dll .\
copy %MATLAB_PATH%mwboost_chrono-vc141-mt-x64-1_70.dll .\
copy %MATLAB_PATH%libmwfoundation_matlabdata_standalone.dll .\
copy %MATLAB_PATH%libmwflstorageevents.dll .\
copy %MATLAB_PATH%libmwflnetwork.dll .\
copy %MATLAB_PATH%libmwmatlab_modules_events.dll .\
copy %MATLAB_PATH%libmwmatlab_modules_interfaces.dll .\
copy %MATLAB_PATH%libmwflcryptoutils.dll .\
copy %MATLAB_PATH%libmwflcrypto.dll .\
copy %MATLAB_PATH%libmwfoundation_json.dll .\
copy %MATLAB_PATH%libmwflcryptocryptopp.dll .\
copy %MATLAB_PATH%mtok.dll .\
copy %MATLAB_PATH%opcmwservices.dll .\
copy %MATLAB_PATH%xerces-c_3_2.dll .\
copy %MATLAB_PATH%lf_features.dll .\
copy %MATLAB_PATH%lf_util.dll .\
copy %MATLAB_PATH%xmlcore.dll .\
copy %MATLAB_PATH%libmwfoundation_matlabdata_json.dll .\
copy %MATLAB_PATH%libmwnativedialogs.dll .\
copy %MATLAB_PATH%libmwflcertificates.dll .\
copy %MATLAB_PATH%libminizip.dll  .\
copy %MATLAB_PATH%libmwregexp.dll .\
copy %MATLAB_PATH%libmwgraphics_state.dll .\
copy %MATLAB_PATH%iqm.dll .\
copy %MATLAB_PATH%libmwbridge.dll .\
copy %MATLAB_PATH%libmwgui.dll .\
copy %MATLAB_PATH%nativejava_services.dll .\
copy %MATLAB_PATH%mfc140.dll .\
copy %MATLAB_PATH%libmwsplashscreen.dll .\
copy %MATLAB_PATH%addons_javapath.dll .\
copy %MATLAB_PATH%libmwmsr.dll .\
copy %MATLAB_PATH%libmwdtoa.dll .\
copy %MATLAB_PATH%libmwdtoa.dll .\
copy %MATLAB_PATH%libmwdtoa.dll .\
copy %MATLAB_PATH%mwboost_program_options-vc141-mt-x64-1_70.dll .\
copy %MATLAB_PATH%libmwfoundation_matlabjson_frontend.dll .\
copy %MATLAB_PATH%libcrypto-1_1-x64.dll .\
copy %MATLAB_PATH%display_device.dll .\
copy %MATLAB_PATH%libssl-1_1-x64.dll .\
copy %MATLAB_PATH%libmwnativedisplay.dll .\
copy %MATLAB_PATH%language_execution_interfaces.dll .\
copy %MATLAB_PATH%errorrecovery.dll .\
copy %MATLAB_PATH%language_execution_interfaces.dll .\
copy %MATLAB_PATH%language_execution_interfaces.dll .\
copy %MATLAB_PATH%errorrecovery.dll .\
copy %MATLAB_PATH%graphics_util.dll .\
copy %MATLAB_PATH%libmwlapack.dll .\
copy %MATLAB_PATH%libmw_addons_core_metadata_provider.dll .\
copy %MATLAB_PATH%libmwsprootutils.dll .\
copy %MATLAB_PATH%contextdata.dll .\
copy %MATLAB_PATH%namesuggestion.dll .\
copy %MATLAB_PATH%libmwbinder.dll .\
copy %MATLAB_PATH%libtex_base.dll  .\
copy %MATLAB_PATH%libmwompwrapper.dll .\
copy %MATLAB_PATH%libmwmetadata_serializer.dll .\
copy %MATLAB_PATH%libmwmetadata_core.dll .\
copy %MATLAB_PATH%libmwresources_folder.dll .\
copy %MATLAB_PATH%PocoFoundation64.dll .\
copy %MATLAB_PATH%PocoXML64.dll .\
copy %MATLAB_PATH%libmwxmlutils.dll .\
copy %MATLAB_PATH%libxml2.dll .\
copy %MATLAB_PATH%copypMicroServices3.dll .\
copy %MATLAB_PATH%libMatlabDataArray.dll .\
copy %MATLAB_PATH%libiomp5md.dll .\
copy %MATLAB_PATH%libmwcpp11compat.dll .\

echo done!